import axios, { type AxiosResponse } from 'axios';

// 登录请求数据类型
export interface LoginReqVO {
    mobile: string;
    password: string;
}

// 用户 API
export const LoginApi = {

// 登录
login: async (params: LoginReqVO): Promise<AxiosResponse> => {
    return await axios.post('http://localhost:48080/app-api/member/auth/login', params);
},

};    